package com.hxd.otc.module.convenience.contract;

import com.hxd.otc.module.convenience.bean.OrderFinishedBean;
import com.hxd.otc.module.convenience.bean.OrderInfoBean;
import com.hxd.otc.module.wallet.bean.WalletCurrencyBean;
import com.hxd.otc.mvp.base.IBasePresenter;
import com.hxd.otc.mvp.base.IBaseView;

/**
 * Created by lzy on 2018/12/12 0012.
 * description ${支付对话框-支付面板 Contract}
 */
public interface PayPanelContract {
    interface IView extends IBaseView {
        void paySuccess(OrderFinishedBean bean);

        void payFail(int errType, String errMessage);

        void getWalletInfoSuccess();

        void getRateSuccess(String newSymbol, String newVolume);

        void sendCodeSuccess(String successMsg);
    }

    interface IPresenter extends IBasePresenter {
        void updateNewPaymentMethod(String newSymbol, String newVolume);

        void initOrderInfo(OrderInfoBean orderInfoBean);

        OrderInfoBean getOrderInfoBean();

        void pay(String authCode);

        void requestWalletInfo();

        WalletCurrencyBean getCurCoinWalletInfo();

        void getRate(String newSymbol);

        void sendPhoneSms();

        void sendEmailVerCode();
    }
}
